<?php
$b = "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"></head><body>";
$after = "</body></html>";
function my_header($redirect){
	echo "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"></head><body><script charset=\"utf-8\" language=\"javascript\">";
	echo "location.href='".$redirect."'";
	echo "</script></body></html>";
}

function msg_redirect($msg,$redirect){
	echo "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"></head><body><script charset=\"utf-8\" language=\"javascript\">";
	echo "window.alert('".$msg."')";
	echo "</script>";
	echo "<script charset=\"utf-8\" language=\"javascript\">";
	echo "location.href='".$redirect."'";
	echo "</script></body></html>";
	return;
}

/*弹出信息框*/
function msg($msg){
	echo "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\"></head><body><script charset=\"utf-8\" language=\"javascript\">";
	echo "window.alert('".$msg."')";
	echo "</script>";
}
?>
